package com.uzai.console.mapper;

import com.uzai.console.entity.ProductPrice;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ProductPriceMapper {
    int deleteById(Long id);

    int insert(ProductPrice record);

    int insertSelective(ProductPrice record);

    ProductPrice selectById(Long id);

    ProductPrice selectByProductCodeAndAuthType(@Param("productCode") String  productCode, @Param("authType") Integer authType);

    int updateByIdSelective(ProductPrice record);

    int updateById(ProductPrice record);
}